Skip to content

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent#927

Merged
ychin merged 2 commits into
macvim-dev:masterfrom
jjgod:883-fontDescent
Jul 29, 2019
Merged

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent#927
ychin merged 2 commits into
macvim-dev:masterfrom
jjgod:883-fontDescent

Conversation

@jjgod

@jjgod jjgod commented Jul 28, 2019

Copy link
Copy Markdown
Contributor

Fixes #883. Makes sure fontDescent is properly initialized by -[MMCoreTextView initWithFrame:].

@eirnym

eirnym commented Jul 28, 2019

Copy link
Copy Markdown
Contributor

LGTM

@jjgod

jjgod commented Jul 29, 2019

Copy link
Copy Markdown
Contributor Author

PR updated according to comment.

@ychin ychin merged commit 72e6bbf into macvim-dev:master Jul 29, 2019
@ychin

ychin commented Jul 29, 2019

Copy link
Copy Markdown
Member

Alright looks good. Thanks for the fix.

ychin added a commit to ychin/macvim that referenced this pull request Oct 16, 2019
Recent fix to font initialization (macvim-dev#927) seems to have caused issues
with other fonts. Keep the fix but revert to the old way of font
initialization by manually creating a new one with point size to not use
the other aspects of the font to keep the behavior consistent with
previous behavior

Fix macvim-dev#928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent

3 participants